<html xmlns="http://www.w3.org/1999/xhtml">
<body onload="document.getElementById('v').appendChild(document.getElementById('s'));">
<style id="s">div:first-letter { float: right; } </style><div id="v"><span>AB</span></div>
</body>
</html>
